package menu;



/**
 * Cascading Menu design pattern.
 * MDisplayable interface. The implementation of this interface should also extend Displayable, or one of its subclass.
 *
 * @author Ben Hui
 */



public interface MDisplayable
{
  /**
   * This method is called when user selected the menu option associated with this MDisplayable. This this
   * object is set into Display for showing on device screen.
   *
   * @param e menu element
   */
  public void onDisplay( MenuElement e );
}